package com.rtx.model.po.service;


import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rtx.model.po.entity.system.MenuPermission;

/**
 * 系统权限信息表 (MenuPermission)表服务接口
 * @since 2023-03-07 15:20:49
 */
public interface MenuPermissionDAO extends IService<MenuPermission> {

	void selectPage(String datasourcekey,Page<MenuPermission> page,LambdaQueryWrapper<MenuPermission> qw);
	
	int insertMenuPermission(String datasourcekey,MenuPermission menuPermission);
	
	void updateMenuPermission(String datasourcekey,MenuPermission menuPermission);
	
	List<MenuPermission> selectMenuPermissionByQueryCondition(String datasourcekey,LambdaQueryWrapper<MenuPermission> qw);
	
	int deleteMenuPermissionById(String datasourcekey,Long id);
	
	int batchDeleteMenuPermissionByIds(String datasourcekey,Long[] ids);
}
